<template>
	<div class="weui-panel">
		<div class="weui-panel__hd">
			<input type="button" style="width: 15%;" class="btn returnBtn" @click="goBack" value="返回"></input>
			<strong style="width: 100%;">
				<slot name='text'>维护作业列表</slot>
			</strong>
		</div>
		<div class="weui-panel__bd">
			<div class="weui-grids">
				<a href="javascript:" class="weui-grid">
					<div class="weui-grid__icon">
						<img src="../../assets/img/manager/icon_tabbar.png" alt="">
					</div>
					<p class="weui-grid__label">签到奖励管理</p>
				</a>
				<a href="javascript:" class="weui-grid">
					<div class="weui-grid__icon">
						<img src="../../assets/img/manager/icon_tabbar.png" alt="">
					</div>
					<p class="weui-grid__label">优惠券管理</p>
				</a>
				<a href="javascript:" class="weui-grid">
					<div class="weui-grid__icon">
						<img src="../../assets/img/manager/icon_tabbar.png" alt="">
					</div>
					<p class="weui-grid__label">报表管理</p>
				</a>
				<a href="javascript:" class="weui-grid" @click="goPage('4')">
					<div class="weui-grid__icon">
						<img src="../../assets/img/manager/icon_tabbar.png" alt="">
					</div>
					<p class="weui-grid__label">课程类型管理</p>
				</a>
				<a href="javascript:" class="weui-grid" @click="goPage('5')">
					<div class="weui-grid__icon">
						<img src="../../assets/img/manager/icon_tabbar.png" alt="">
					</div>
					<p class="weui-grid__label">充值套餐管理</p>
				</a>
				<!-- <a href="javascript:" class="weui-grid">
					<div class="weui-grid__icon">
						<img src="../../assets/img/manager/icon_tabbar.png" alt="">
					</div>
					<p class="weui-grid__label">Grid</p>
				</a> -->

			</div>
		</div>
	</div>
</template>

<script>
	
	export default {
		
		data() {
			return {
				
			}
		},
		methods:{
			goBack(){
				this.$router.go(-1)
			},
			goPage(type){
				//充值套餐管理
				if(type =='5'){
					this.$router.push({name:'rechargeMaintain'})
				}
				if(type =='4'){
					this.$router.push({name:'caseTypeMaintain'})
				}
			}
		}
	}
</script>

<style>
		@import "../../assets/css/returnBtn.css";
</style>
